package com.cgbl.cg.ui.mine

import android.os.Bundle
import android.view.LayoutInflater
import android.view.ViewGroup
import com.cgbl.cg.BR
import com.cgbl.cg.R
import com.cgbl.cg.databinding.AppFragmentResourceParamsBinding
import com.cgbl.cg.vm.resource.ResourceParamsViewModel
import com.robot.base.base.activity.GLBaseFragment
import com.robot.base.model.ResourceDetailBean

class ResourceParamsFragment :
    GLBaseFragment<AppFragmentResourceParamsBinding, ResourceParamsViewModel>() {

    override fun initContentView(
        inflater: LayoutInflater?,
        container: ViewGroup?,
        savedInstanceState: Bundle?
    ): Int = R.layout.app_fragment_resource_params

    override fun initVariableId(): Int = BR.viewModel

    override fun initComponents() {

    }

    fun setCourseProfileData(data: ResourceDetailBean) {
        viewModel.setData(data)
    }
}